You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multi-viewport is currently not supported on Wayland (#8587 and others).
It appears that the new xdg-toplevel-drag protocol https://wayland.app/protocols/xdg-toplevel-drag-v1 is designed to enable exactly this sort of use case. Some new backend code would be needed to reflect the fact that we need to rely on drag/drop evens and can't use global coordinates to determine which window is being dragged where. But I disagree with previous statements that multi-viewport is impossible to implement on Wayland. This may have been true prior to the creation of xdg-toplevel-drag but if Firefox/Chrome can drag tabs into new windows and back, so can we.
Note that this will only be possible if the user is using a compositor implementing this protocol (e.g. KWin) so we will still need a check to disable multi-viewport if xdg-toplevel-drag is not available.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Version/Branch of Dear ImGui:
latest docking
Back-ends:
any
Compiler, OS:
Linux
Full config/build information:
No response
Details:
Multi-viewport is currently not supported on Wayland (#8587 and others).
It appears that the new xdg-toplevel-drag protocol https://wayland.app/protocols/xdg-toplevel-drag-v1 is designed to enable exactly this sort of use case. Some new backend code would be needed to reflect the fact that we need to rely on drag/drop evens and can't use global coordinates to determine which window is being dragged where. But I disagree with previous statements that multi-viewport is impossible to implement on Wayland. This may have been true prior to the creation of xdg-toplevel-drag but if Firefox/Chrome can drag tabs into new windows and back, so can we.
Note that this will only be possible if the user is using a compositor implementing this protocol (e.g. KWin) so we will still need a check to disable multi-viewport if xdg-toplevel-drag is not available.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: